class waterSupply:
    def __init__(self, name, value, priority):
        self.name = name
        self.value = value
        self.priority = priority

class waterDemand:
    def __init__(self, name, value, priority=None):
        self.name = name
        self.value = value
        self.priority = priority